﻿<Serializable()> _
Public MustInherit Class Evento

    Private _id As Nullable(Of Long)
    Public Overridable Property Id() As Nullable(Of Long)
        Get
            Return _id
        End Get
        Set(ByVal value As Nullable(Of Long))
            _id = value
        End Set
    End Property

    Private _usuario As Usuario
    Public Overridable Property Usuario() As Usuario
        Get
            Return _usuario
        End Get
        Set(ByVal value As Usuario)
            _usuario = value
        End Set
    End Property

    Private _cliente As Cliente
    Public Overridable Property Cliente() As Cliente
        Get
            Return _cliente
        End Get
        Set(ByVal value As Cliente)
            _cliente = value
        End Set
    End Property


    Private _observacao As String
    Public Overridable Property Observacao() As String
        Get
            Return _observacao
        End Get
        Set(ByVal value As String)
            _observacao = value
        End Set
    End Property

    Private _eventoPrecedente As Evento
    Public Overridable Property EventoPrecedente() As Evento
        Get
            Return _eventoPrecedente
        End Get
        Set(ByVal value As Evento)
            _eventoPrecedente = value
        End Set
    End Property

    Private _timeStamp As Nullable(Of DateTime)
    Public Overridable Property TimeStamp() As Nullable(Of DateTime)
        Get
            Return _timeStamp
        End Get
        Set(ByVal value As Nullable(Of DateTime))
            _timeStamp = value
        End Set
    End Property

End Class
